package com.zhoutian.dao;

import com.github.pagehelper.Page;
import com.zhoutian.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map map);
    public Page<Setmeal> findByCondition(String queryString);
    public void deleteById(Integer id);
    public void storageById(Integer id);
    public String findImgById(Integer id);
    public void deleteCheckGroupById(Integer id);
    public List<Setmeal> findAll();
    public List<Setmeal> findAllShelves();
    public void yesShelves(Integer id);
    public void noShelves(Integer id);
    public Setmeal findById(int id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void edit(Setmeal setmeal);
    public void deleteAssocication(Integer id);
    public List<Map<String, Object>> findSetmealCount();
}
